-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[YANG] Add missing entry for sonic-srv6.yang in sonic-yang-models/setup.py #21560
Conversation
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
}, | ||
"SRV6_MY_LOCATORS": { | ||
"loc1": { | ||
"prefix": "fcbb:bbbb:1::" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we not need here mask ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. The prefix length should block_len+node_len.
@@ -210,7 +210,8 @@ def run(self): | |||
'./yang-models/sonic-xcvrd-log.yang', | |||
'./yang-models/sonic-grpcclient.yang', | |||
'./yang-models/sonic-serial-console.yang', | |||
'./yang-models/sonic-smart-switch.yang',]), | |||
'./yang-models/sonic-smart-switch.yang', | |||
'./yang-models/sonic-srv6.yang']), | |||
('cvlyang-models', ['./cvlyang-models/sonic-acl.yang', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to define the file in cvlyang-models as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is cvlyang-models? We didn't add any yang model under cylyang-models directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it is related to management framework feature. In such case I don' think its required.
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
…up.py (sonic-net#21560) Previously, I did not add an entry in setup.py to install the srv6 yang model Now, adding the missing entry for sonic-srv6.yang in sonic-yang-models/setup.py
[Cherry-pick][YANG] Add missing entry for sonic-srv6.yang in sonic-yang-models/setup.py (sonic-net#21560)
Cherry-pick PR to msft-202412: Azure/sonic-buildimage-msft#571 |
Why I did it
Previously, I did not add an entry in setup.py to install the srv6 yang model
Work item tracking
How I did it
Add the missing entry for sonic-srv6.yang in sonic-yang-models/setup.py
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)